package classes{
	import beniAS3Lib.utils.BeniStr;
	
	public class UtilFun{
		
		
		
		private static var contentAry:Array;
		
		public static function init():void{
			contentAry = [
				['#AppFile#', ModelLocator.item.appName],
				['#Package#', ModelLocator.item.packageName]
			]
		}
		
		
		public static function getReplaceStr(str:String):String{
			var item:Array;
			var findStr:String, replaceStr:String;
			for each(item in contentAry){
				findStr = item[0];
				replaceStr = item[1];
				str = BeniStr.multiReplaceByStr(str, findStr, replaceStr);
			}
			return str;
		}
		
	}
}